#pragma once

#include "Ability/EditorAbilityView.h"
#include "Ability/CallStack/EditorCallStackAbilityViewModel.h"
#include "EditorCallStackAbilityView.m.h"

class RVerticalPositionerWidget;

RCLASS()
class REditorCallStackAbilityView : public REditorAbilityView
{
    ROBJECT

public: 
    virtual void CreateWidget(TSharedObjectPtr<RWidget> InParent) override;
    virtual void BindViewModel(TSharedObjectPtr<REditorAbilityViewModel> InViewModel) override;
    virtual void FillOperations(TSharedObjectPtr<RWidget> InTitleBar) override;
protected:
    TWeakObjectPtr<REditorCallStackAbilityViewModel> CallStackViewModel;

    TSharedObjectPtr<RVerticalPositionerWidget> List;


    void FillCallStack();

};